package ldh.im.rpc.connection;

import ldh.im.rpc.dto.RpcData;
import ldh.im.rpc.exception.RpcException;

public interface RpcDataChannel extends RpcReadChannel {

    <T> void write(RpcData<T> rpcData) throws RpcException;

    void read() throws RpcException;
}
